|
ARTeam Tutorial Visit:
http://cracking.accessroot.com
|
http://forum.accessroot.com CD to MP3
Maker 1.15 |
| Information | Serial fishing and keygen building |
| Target | CD to MP3 Maker 1.15 |
| Available | http://www.share2.com/cdtomp3/download.html |
| Tools | OllyDbg 1.10 |
| Protection | Serial |
| level | Beginner |
| Category | Cracking |
| Author(s) | ThunderPwr September 2004 |
| Requirements | Windows XP, IE 5.5 and above for best viewing |
|
1. Introduction
|
| This program is a CD ripper able to extract, from audio CD, musical tracks and convert it into MP3 or other audio format. Program came from the author unpacked and without any type of CRC check then is a good candidate for make some exercise about serial fishing and to make a keygenerator for it.. During
all the page of this tutorial step by step explanation is making in
order to show how take the right serial and how manipulate code to
take serial directly from the program, also at the end of this tut
a simple VB60 keygen is builded for this application. |
| 2. What
we can do |
|
Our purpose is find the right serial without patching the program and make a keygen for it. |
|
STEP 1 – Executable file analysis
after installationt
|
|
This file wasn’t packed and came
without any integrity check then next step is serial finding. |
|
STEP 2 – Debugging and patching
stage
|
|
You can look on the caption the “This
is a trial version” text, this means that program is into trial mode
then we have to make some work to force registration.
Now write your name and fake registration
number (write a simple registration code, it will be useful when you
made the debugging step and must recognize when and where serial is
readed and stored), for example: When you press the Register button an error message arise:
Go into the
OllyDbg code window, press F12 to stop OllyDbg, and look into the
stack just before the first error message (scroll down into the stack
window): Press CTRL+G (or right click and select
Go To -> Expression) then write 004347DE:
Well, return address from this section
is 004118A0 (look at figure 8), then press again CTRL+G and write
this address, you land into this nice piece of code:
To choose the good boy section you
must backtrace until you reach the 0041188D address, look at the left
there is an entry mark, this means a jump from some location to this
point, to find the address just click on this address and show on
the panel window:
Now go to the 0041181F address, just
right click on panel:
Well, obviously you can jump directly
because this is clear if you see figure 8, but i like to explain this
in a detailed manner because can be useful from general point of view.
look into the register window:
you have:
Then press the Register button: Registration was successfully (this
is what’s program tell us…), press OK:
Uhm … nothing has changed, then you can
restart the program in order to show if registration take effect,
press the close button and again the registration form is showed. Uhm … place again your name and hypothetical serial and the press Register …, OllyDbg break in our breakpoint on 0041181D, press F9 and program tell us to quit and restart to take registration effect. Close OllyDbg, run the executable
and show the caption for the main window:
Well done cracker, program was been
registered without patching it, i think, about this, which is similar
to CrackMe instead than a real program, but can be useful exercise
make some stuff around this application for example a keygenerator. |
|
STEP 3– Making the keygen
|
| Keygenerator means find the
routine which make the serial check and then reverse it in order to
find how the serial is generated or checked.
Below there
is a simple VB60 source code to make your personal simple keygenerator
for this application:
If you like make the keygeneration in VC++.NET language there is a snippet of the main routine:
At each keypressing the OnEnChangeEditname routine is called, first you can check if there are valid char on the name field (no more check is made for sake of simplicity, only a null string check is given), then there is the loop calculation on each character of the name typed into the Name Edit Control, next calculation is just explained during the code analysis.
|
|
6. Conclusion
|
|
Program came with very simple protection,
then this is like a big CrackMe with some useful stuff about MP3 isn’t
it? ;-)
|
|
8. Greetingz
|
|
[MAIN TEAM]
|